#include<stdio.h>
#include<time.h>
#include<stdlib.h>
#include<string.h>

typedef void(*call)(const char*, double, double);

void print_progress(const char* tips, double current, double total);

void download(double total, call cb);

